document.write(" <div class=\"nav\">\n" +
    "                <div class=\"item\">\n" +
    "                    <h3>总部管理</h3>\n" +
    "                    <ul>\n" +
    "                        <li>\n" +
    "                            <a href=\"index.html\">通知公告(孙士龙)</a>\n" +
    "                        </li>\n" +
    "                        <li>\n" +
    "                            <a href=\"zhanqu.html\">战区管理(王乔)</a></li>\n" +
    "                        <li><a href='mendian.html'>门店管理</a></li>\n" +
    "                        <li><a href='#'>供应商管理</a></li>\n" +
    "                        <li><a href='#'>物料类型</a></li>\n" +
    "                        <li><a href='#'>物料仓库类型</a></li>\n" +
    "                        <li><a href='#'>总部物料库</a></li>\n" +
    "                        <li><a href='#'>保外出库类型管理</a></li>\n" +
    "                        <li><a href='#'>物料超期规则</a></li>\n" +
    "                        <li><a href='#'>保外单类型</a></li>\n" +
    "                        <li><a href='#'>会员套餐类型</a></li>\n" +
    "                        <li><a href='#'>支付设置</a></li>\n" +
    "                    </ul>\n" +
    "                </div>\n" +
    "\n" +
    "            </div>");

function setColor(i){
    var lis = document.getElementsByTagName("li");
    lis[i].style.background = "white";
    lis[i].getElementsByTagName("a")[0].style.color = "#2e2f81";
}
